package com.atmilan.quartz.model.dto.buyer;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import lombok.Data;

/**
 * 供应商对象 t_supplier
 * 
 * @author muyu
 * @date 2020-09-01
 */
@Data
public class SupplierDO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String supplierSimpleName;
    private String supplierFullName;
    private String supplierPhone;
    private Long supplierTypeId;
    private Long supplierSource;
    private Long userId;
    private Long provinceId;
    private Long cityId;
    private Long areaId;
    private Date beginDate;
    private Date endDate;
    private String legalPerson;
    private Long groupCode;
    private String email;
    private String linkMan;
    private String officePhone;
    private String logoUrl;
    private String idcardZUrl;
    private String idcardFUrl;
    private String businessLicenseUrl;
    private String reason;
    private String address;
    private String website;
    private Integer status;
    private String detail;
    private Long authenticationType;
    private Long isReauthentication;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("supplierSimpleName", getSupplierSimpleName()).append("supplierFullName", getSupplierFullName()).append("supplierPhone", getSupplierPhone()).append("supplierTypeId", getSupplierTypeId()).append("supplierSource", getSupplierSource()).append("userId", getUserId()).append("provinceId", getProvinceId()).append("cityId", getCityId()).append("areaId", getAreaId()).append("isDeleted", getIsDeleted()).append("beginDate", getBeginDate()).append("endDate", getEndDate()).append("legalPerson", getLegalPerson()).append("groupCode", getGroupCode()).append("email", getEmail()).append("linkMan", getLinkMan()).append("officePhone", getOfficePhone()).append("logoUrl", getLogoUrl()).append("idcardZUrl", getIdcardZUrl()).append("idcardFUrl", getIdcardFUrl()).append("businessLicenseUrl", getBusinessLicenseUrl()).append("reason", getReason()).append("address", getAddress()).append("website", getWebsite()).append("status", getStatus()).append("detail", getDetail()).append("authenticationType", getAuthenticationType()).append("isReauthentication", getIsReauthentication()).append("remark", getRemark())
                .append("createTime", getCreateTime()).append("editTime", getEditTime()).append("creator", getCreator()).append("editor", getEditor()).toString();
    }
}
